//
//  Channel.m
//  GiftSay
//
//  Created by QQn1993 on 16/1/11.
//  Copyright © 2016年 liyinkai. All rights reserved.
//

#import "Channel.h"

@implementation Channel

- (instancetype)initWithDatasource:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        self.Id = [NSString stringWithFormat:@"%@",value];
    }
}

- (id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}

@end
